package com.snack.system.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.snack.common.core.annotation.Excel;
import com.snack.common.core.web.domain.BaseEntity;

/**
 * 订单关联商品对象 ts_order_goods
 * 
 * @author snack
 * @date 2022-09-18
 */
@Data
public class TsOrderGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单商品id */
    private Long orderGoodsId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 来自哪里 1商城 2特价 */
    @Excel(name = "来自哪里 1商城 2特价")
    private String fromType;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal priceOld;

    /** 现价 */
    @Excel(name = "现价")
    private BigDecimal priceNow;

    /** 数量 */
    @Excel(name = "数量")
    private Long number;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;
}
